﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YiLe.UI.YiLeSystemDataTableAdapters;

namespace YiLe.UI
{
    public class CustomersDataProvider : DataProvider
    {
        internal YiLe.UI.YiLeSystemDataTableAdapters.EmployeeTableAdapter EmployeeDataTableAdapter;

        protected override bool FillCore()
        {
            //TODO:this.EmployeeDataTableAdapter.Fill
            //this.EmployeeDataTableAdapter.Fill(this.DataSet.Employee);
            return true;
        }

        protected override bool UpdateCore()
        {
            //TODO:this.EmployeeDataTableAdapter.Update
            //this.EmployeeDataTableAdapter.Update(this.DataSet.Employee);
            return true;
        }

        protected override bool UpdateDataRowCore(System.Data.DataRow row)
        {
            //TODO:this.EmployeeDataTableAdapter.Update
            //this.EmployeeDataTableAdapter.Update(row);
            return true;
        }

        public CustomersDataProvider() : base()
        {
            this.EmployeeDataTableAdapter = new EmployeeTableAdapter();
            //TODO:EmployeeDataTableAdapter.ClearBeforeFill
            //this.EmployeeDataTableAdapter.ClearBeforeFill = true;
        }

    }
}
